-- GENERATED SPELL FOR [Vengeful Unyielding Footman] --


function spell0_20137(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(11976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20137', 543, 1)
end

function Sorts_20137(pUnit, Event)
local choix_sorts_20137 = math.random(0, 0)
if choix_sorts_20137 == 0 then
pUnit:RegisterEvent('spell0_20137', 1, 1)
end
end

function mob20137_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20137', math.random(1500, 3000), 1)
end

function mob20137_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20137_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20137_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20137, 1, 'mob20137_Action')
RegisterUnitEvent(20137, 2, 'mob20137_Leave')
RegisterUnitEvent(20137, 3, 'mob20137_Kill')
RegisterUnitEvent(20137, 4, 'mob20137_Die')
